﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MicroLink.StsDev2008AddIn.CommandHandlers
{
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class CommandIDAttribute : Attribute
    {
        private readonly Guid m_commandGuid;
        private readonly uint m_command;

        public CommandIDAttribute(string commandGuidString, uint command)
        {
            m_commandGuid = new Guid(commandGuidString);
            m_command = command;
        }

        public Guid Guid
        {
            get { return m_commandGuid; }
        }

        public uint Command
        {
            get { return m_command; }
        }
    }
}
